﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ChangePassword.aspx.cs"
    Inherits="EnvironmentalMonitor.WebApplication.Manage.User.ChangePassword" %>

<!DOCTYPE html>
<html>
<head runat="server">
    <title></title>
    <style type="text/css">
        html, body
        {
            margin: 0px;
            padding: 0px;
            height: 100%;
            overflow: hidden;
            font-family: 微软雅黑, 新宋体, 宋体, Tahoma, Consolas, Courier New, Arial;
            font-size: 12pt;
            font-weight: bolder;
        }
        
        input
        {
            font-family: 微软雅黑, 新宋体, 宋体, Tahoma, Consolas, Courier New, Arial;
            font-size: 12pt;
            font-weight: bolder;
        }
    </style>
</head>
<body>
    <form id="form" runat="server">
    <table cellpadding="1" cellspacing="1" border="0" style="background-color: #ffffff;
        width: 90%">
        <tbody>
            <tr style="height: 50px">
                <td align="right">
                </td>
                <td style="width: 200px">
                    <asp:Label ID="LabelMessage" runat="server"></asp:Label>
                </td>
                <td>
                </td>
            </tr>
            <tr style="height: 50px">
                <td align="right">
                    旧密码：
                </td>
                <td>
                    <asp:TextBox ID="TextBoxOldPassword" runat="server" Height="30px" TextMode="Password"
                        Width="160px">
                    </asp:TextBox>
                </td>
                <td>
                </td>
            </tr>
            <tr style="height: 50px">
                <td align="right">
                    新密码：
                </td>
                <td>
                    <asp:TextBox ID="TextBoxNewPassword" runat="server" Height="30px" TextMode="Password"
                        Width="160px">
                    </asp:TextBox>
                </td>
                <td>
                </td>
            </tr>
            <tr style="height: 50px">
                <td align="right">
                    重复新密码：
                </td>
                <td>
                    <asp:TextBox ID="TextBoxRepeatNewPassword" runat="server" Height="30px" TextMode="Password"
                        Width="160px">
                    </asp:TextBox>
                </td>
                <td>
                    <asp:CompareValidator ID="CompareValidatorPassword" runat="server" ControlToCompare="TextBoxNewPassword"
                        ControlToValidate="TextBoxRepeatNewPassword" ErrorMessage="密码不一致！">
                    </asp:CompareValidator>
                </td>
            </tr>
            <tr style="height: 50px">
                <td align="right">
                </td>
                <td>
                    <asp:Button ID="ButtonSubmit" runat="server" Text="确定" Width="160px" Height="30px"
                        OnClick="ButtonSubmit_Click" />
                </td>
                <td>
                </td>
            </tr>
        </tbody>
    </table>
    </form>
</body>
</html>
